#ifndef _VERTEX_BUFFER_DATA_H
#define _VERTEX_BUFFER_DATA_H

template <class T>
class VertexBufferData {

private:
	int verticesCount;
	T * data;

public:
	VertexBufferData(T *pData, int pVerticesCount) {
		data = pData;
		verticesCount = pVerticesCount;
	}
	~VertexBufferData() {
		delete[] data;
	}

	int getVerticesCount() { return verticesCount; }
	int getByteWidth() { return (sizeof(T) * verticesCount); }
	T * getData() { return data; }

};

#endif
